﻿using System;

namespace Sustainalytics.GCCS.Tasks
{
    /// <summary>
    /// Thrown when the GCCS PDF Export task params are invalid.
    /// </summary>
    public class GccsPdfExportTaskInvalidParamsException : Exception
    {
        public string ParamsJson { get; set; }


        /// <summary>
        /// Ctor.
        /// </summary>
        /// <param name="paramJson"> Json params. </param>
        public GccsPdfExportTaskInvalidParamsException(string paramJson)
        {
            this.ParamsJson = paramJson;
        }
    }
}
